using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class vP
    {
        public double PSID { get; set; }
        public string NUMBER { get; set; }
        public System.DateTime DATE { get; set; }
        public string TIME { get; set; }
        public Nullable<double> SUBTOTAL { get; set; }
        public bool POSTED { get; set; }
        public Nullable<bool> VOID { get; set; }
        public Nullable<bool> HOLD { get; set; }
        public string REFERENCE { get; set; }
        public string ARREFERENCE { get; set; }
        public short SALETYPE { get; set; }
        public short DOCTYPE { get; set; }
        public string CASHACCT { get; set; }
        public Nullable<bool> ONACCOUNT { get; set; }
        public string LOCATION { get; set; }
        public Nullable<System.DateTime> DUEDATE { get; set; }
        public Nullable<bool> CLOSEDOUT { get; set; }
        public string ARBATCH { get; set; }
        public string GLBATCH { get; set; }
        public Nullable<System.DateTime> EXPDELIVDATE { get; set; }
        public Nullable<System.DateTime> DELIVDATE { get; set; }
        public Nullable<byte> TRADETYPE { get; set; }
        public Nullable<double> DISCVAL { get; set; }
        public Nullable<double> TOTAL { get; set; }
        public Nullable<double> CHANGEDUE { get; set; }
        public string DOCNUM { get; set; }
        public string CUSTADDR { get; set; }
        public Nullable<double> TAX { get; set; }
        public string CustID { get; set; }
        public string CUSTPHONE { get; set; }
        public string LPO { get; set; }
        public Nullable<double> PS_VAT_RATE { get; set; }
        public short CustCurr { get; set; }
        public string CUSTNAME { get; set; }
        public Nullable<int> Duration { get; set; }
        public Nullable<bool> Production { get; set; }
        public string ORDERNUM { get; set; }
        public string QUOTENUM { get; set; }
        public string DELNOTENUM { get; set; }
        public string ITEM { get; set; }
        public Nullable<double> QTYSHIP { get; set; }
        public Nullable<double> EXTEND { get; set; }
        public Nullable<double> EXTENDADISC { get; set; }
        public Nullable<System.DateTime> EXPIRYDATE { get; set; }
        public Nullable<double> LINETAX { get; set; }
        public Nullable<bool> DEBIT { get; set; }
        public Nullable<double> COST { get; set; }
        public Nullable<double> UnitPrice { get; set; }
        public Nullable<double> ItmDiscount { get; set; }
        public Nullable<double> ItmDiscPerc { get; set; }
        public string SALESMAN { get; set; }
        public short SalesmanID { get; set; }
        public string Register { get; set; }
        public string DefaultRegLocation { get; set; }
        public string Store { get; set; }
        public string CurrName { get; set; }
        public string CurrSymb { get; set; }
        public string CreateUser { get; set; }
        public string EditUser { get; set; }
        public string VoidUser { get; set; }
        public string ItmDescription { get; set; }
        public Nullable<bool> VAT_ENABLED { get; set; }
        public string BinLocation { get; set; }
        public string CompName { get; set; }
        public string CompAddr1 { get; set; }
        public string CompAddr2 { get; set; }
        public string CompCity { get; set; }
        public string CompPhone { get; set; }
        public string CompFAX { get; set; }
        public string VAT_REG_NUM { get; set; }
        public Nullable<bool> ENABLE_VAT { get; set; }
        public Nullable<bool> ENABLE_IN_VAT { get; set; }
        public Nullable<bool> ENABLE_OUT_VAT { get; set; }
        public Nullable<double> VAT_RATE { get; set; }
        public string CustAcct { get; set; }
        public string INVMESSAGE { get; set; }
        public string CSTCTR { get; set; }
        public string UnitofSales { get; set; }
    }
}
